From: kfraser@localhost.localdomain Date: Tue, 10 Oct 2006 15:02:30 +0000 (+0100) Subject: [XEND] Add missing line from changeset 11653:3b7e11cbeb940 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15615^2~20 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=741fad235ce073fae20aec7f38ee8e9772681f13;p=xen.git [XEND] Add missing line from changeset 11653:3b7e11cbeb940 Signed-off-by: Keir Fraser --- diff --git a/tools/python/xen/util/blkif.py b/tools/python/xen/util/blkif.py index c9a9dc9e6a..8c982b7beb 100644 --- a/tools/python/xen/util/blkif.py +++ b/tools/python/xen/util/blkif.py @@ -64,7 +64,7 @@ def blkdev_uname_to_file(uname): """Take a blkdev uname and return the corresponding filename.""" fn = None if uname.find(":") != -1: - (typ, fn) = uname.split(":") + (typ, fn) = uname.split(":", 1) if typ == "phy" and not fn.startswith("/"): fn = "/dev/%s" %(fn,) if typ == "tap":